﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Threading.Tasks;

namespace LanzhouBeefNoodles.Models
{
    public class Noodle
    {
        public int Id { get; set; }
        public string Name{ get; set; }
        public string ShortDescription { get; set; } //简介
        public string LongDescription { get; set; } //说明
        [Column(TypeName = "decimal(18,2)")]
        public decimal Price { get; set; } //价格
        public string ImageUrl { get; set; }
        public bool IsInStock { get; set; } //是否还有库存

    }
}
